import config from '../config/index';
import request from '../utils/request';

const BASE_URL = config.BASE_URL;


//获取服务人员列表
export async function getEmployee(params){
    return request(`${BASE_URL}/serviceStaff/selectAll`, {
        method: 'POST',
        body: {
          ...params,
        },
      });
}

//删除服务人员
export async function delEmployee(params){
  return request(`${BASE_URL}/serviceStaff/delete`, {
      method: 'POST',
      body: {
        ...params,
      },
    });
}